package com.cl.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_classroom")
@ApiModel(value = "Classroom对象", description = "教室表")
public class Classroom implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("教室")
    @TableField("name")
    private String name;

    @ApiModelProperty("地点")
    @TableField("address")
    private String address;

    @ApiModelProperty("容纳人数")
    @TableField("number")
    private Integer number;

    @ApiModelProperty("状态")
    @TableField("status")
    private String status;


}
